package com.yunxi.estate.domain;

/**
 * 住户家庭关系类
 *
 * @author 松子鱼
 */
public class AddUser {
    /**
     * 关系ID
     */
    private Long relationId;

    /**
     * 居民ID
     */
    private Long residentId;

    /**
     * 父级ID
     */
    private Long parentId;

    /**
     * 祖级列表
     */
    private String ancestors;

    /**
     * 住址ID
     */
    private Long addId;

    /**
     * 住址名称
     */
    private String addName;

    /**
     * 删除标志(0正常 1删除)
     */
    private String delFlag;

    public Long getRelationId() {
        return relationId;
    }

    public void setRelationId(Long relationId) {
        this.relationId = relationId;
    }

    public Long getResidentId() {
        return residentId;
    }

    public void setResidentId(Long residentId) {
        this.residentId = residentId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public Long getAddId() {
        return addId;
    }

    public void setAddId(Long addId) {
        this.addId = addId;
    }

    public String getAddName() {
        return addName;
    }

    public void setAddName(String addName) {
        this.addName = addName;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "AddUser{" +
                "relationId=" + relationId +
                ", residentId=" + residentId +
                ", parentId=" + parentId +
                ", ancestors='" + ancestors + '\'' +
                ", addId=" + addId +
                ", addName=" + addName +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }
}
